/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.kreig133.spine.simplemodel;

import com.kreig133.spine.abstractmodel.AbstractState;
import com.kreig133.spine.abstractmodel.AbstractEnvironment;
/**
 *
 * @author C.C.-fag
 */

public class SimpleEnvironment extends AbstractEnvironment {
    protected AbstractState  previous;
    protected AbstractState  next;
    protected double simulationStep;

    public SimpleEnvironment(AbstractState previous, AbstractState next, double simulationStep) {
        this.previous = previous;
        this.next = next;
        this.simulationStep = simulationStep;
    }



    public AbstractState getNext() {
        return next;
    }

    public AbstractState getPrevious() {
        return previous;
    }

    public double getSimulationStep() {
        return simulationStep;
    }
}
